package com.system.util;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.system.entity.FoodClassify;

public class FoodClassifyListData {
	@JSONField(name="code",ordinal = 1)
	private String code;
	@JSONField(name="getFoodList",ordinal = 2)
	private List<FoodClassify> foodList = new ArrayList<FoodClassify>();
	
	
	public FoodClassifyListData() {
		super();
	}

	public FoodClassifyListData(String code) {
		super();
		this.code = code;
	}

	public FoodClassifyListData(String code, List<FoodClassify> foodList) {
		super();
		this.code = code;
		this.foodList = foodList;
	}

	public List<FoodClassify> getFoodList() {
		return foodList;
	}

	public void setFoodList(List<FoodClassify> foodList) {
		this.foodList = foodList;
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public String toString() {
		return "FoodListData [code=" + code + ", foodList=" + foodList + "]";
	}
	
	
}
